package com.example.warehouse.bus.pojo.param;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;

/**
 * 新增退货的参数类
 *
 * @author XXH
 */
@Data
public class BusOutportAddNewParam implements Serializable {

    /*数据ID自动生成*/

    @NotNull(message = "请输入供应商ID")
    @ApiModelProperty(value = "供应商ID", required = true,example = "100")
    private Long providerId;               // 供应商ID

    @NotNull(message = "请输入商品ID")
    @ApiModelProperty(value = "商品ID", required = true,example = "200")
    private Long goodsId;                  // 商品ID

    @NotNull(message = "请输入支付类型")
    @ApiModelProperty(value = "支付类型", required = true,example = "支付宝")
    private String payType;                    // 支付类型

    /*退货时间自动生成*/

    @NotNull(message = "请输入操作员")
    @ApiModelProperty(value = "操作员", required = true,example = "阿航")
    private String operatePerson;             // 退货人

    @NotNull(message = "请输入退货价格")
    @ApiModelProperty(value = "退货价格", required = true,example = "300.00")
    private Double outportPrice;                //退货价格

    @NotNull(message = "请输入退货数量")
    @ApiModelProperty(value = "进货数量", required = true,example = "400")
    private Integer number;                   // 退货数量

    @NotNull(message = "请输入备注")
    @ApiModelProperty(value = "备注", required = false,example = "测试使用备注")
    private String description;               // 备注

    /*数据创建时间自动生成*/

    /*数据最后修改时间自动生成*/


}
